package com.hgg.dao;

import java.util.List;
import java.util.Map;

import com.hgg.domain.TProduct;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;



public interface TProductMapper {

	int deleteByPrimaryKey(Integer productid);

	int insert(TProduct record);

	int insertSelective(TProduct record);

	TProduct selectByPrimaryKey(Integer productid);

	int updateByPrimaryKeySelective(TProduct record);

	int updateByPrimaryKey(TProduct record);
	
	int insertBatch(@Param(value = "products") List<TProduct> products);
}